

.msg_panel.left {
	width:100%;
	
	border-radius:5px;
	position:relative;
	display: flex;
}
.msg_panel.left  .headicon_panel{
	width: 40px;
	height: 40px;
	margin-top:10px;
}
.msg_panel.left  .headicon_panel img{
	width: 40px;
	height: 40px;
}
.msg_panel.left  .text_msg_content{
	margin-top:10px;
	    width: auto;
    min-height:40px;
    text-align: left;
    line-height: 2;
    font-size: 18;
    margin-left: 10px;
    background: #b2e281;
    padding-top:5px;
    padding-bottom:5px;
    cursor:pointer;
    padding-left: 5px;
    padding-right: 5px;
    position:relative;
   
    border-radius: 5px;
}

.msg_panel.left .file_msg_content{
		margin-top:10px;
	    width: auto;
    min-height:40px;
    text-align: left;
    line-height: 2;
    font-size: 18;
    cursor:pointer;
    margin-left: 10px;
    background: #b2e281;
    padding-left: 5px;
    padding-right: 5px;
    position:relative;
   padding-top:5px;
   padding-bottom:5px;
    border-radius: 5px;
}



.msg_panel.left .file_msg_content .msg_content{
	height: 90px;
}
.msg_panel.left .file_msg_content .msg_content img{
	width: 100px;
	height: 50px;
}
.filename_bar{
	    text-align: center;
    width: 120px;
    font-size: 10px;
    /* border: 1px solid red; */
    height: 20px;
    overflow: hidden;
    position: absolute;
    top: 75;
}


.msg_panel.right .file_msg_content {
	
	    margin-top: 10px;
    width: auto;
    min-height: 40px;
    text-align: left;
    line-height: 2;
    font-size: 18;
    cursor: pointer;
    margin-right: 10px;
    background: #b2e281;
    padding-left: 5px;
    padding-right: 5px;
    position: relative;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 5px;
}
.file_msg_content .down_panel{
	display: none;
}
.file_msg_content .down_panel.selected{
	display:block;
	width: 120px;
    height: 30px;
    position: relative;
    top: -50;
    /* left: -10; */
    text-align: center;
    background: rgba(158, 158, 158, 0.45);
    font-size: 18px;
}
.msg_panel.right .file_msg_content .msg_content{
	width: 120px;
    height: 90px;
}

.msg_panel.right .file_msg_content .msg_content img{
	width: 120px;
	height: 80px;
}
.msg_panel.left .file_msg_content .msg_content img{
	width: 120px;
	height: 80px;
}
.msg_panel.right .file_msg_content:AFTER {
	position: absolute;
    content: " ";
    top: 14px;
    right: -5px;
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
   
    transform: rotate(45deg);
    background: #ffffff;
    width: 10px;
    height: 10px;
}

.msg_panel.left  .file_msg_content:BEFORE {
	position: absolute;
    content: " ";
    top: 14px;
    left: -5px;
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
   
    transform: rotate(45deg);
    background: #b2e281;
    width: 10px;
    height: 10px;
}


.msg_panel.left  .img_msg_content{
	margin-top:10px;
	    width: auto;
    min-height:40px;
    text-align: left;
    line-height: 2;
    font-size: 18;
    cursor:pointer;
    margin-left: 10px;
    background: #b2e281;
    padding-left: 5px;
    padding-right: 5px;
    position:relative;
   padding-top:5px;
   padding-bottom:5px;
    border-radius: 5px;
}


.msg_panel.left  .text_msg_content:BEFORE {
	position: absolute;
    content: " ";
    top: 14px;
    left: -5px;
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
   
    transform: rotate(45deg);
    background: #b2e281;
    width: 10px;
    height: 10px;
}

.msg_panel.left  .img_msg_content:BEFORE {
	position: absolute;
    content: " ";
    top: 14px;
    left: -5px;
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
   
    transform: rotate(45deg);
    background: #b2e281;
    width: 10px;
    height: 10px;
}



.msg_panel.left  .msg_content{
	margin-left: 5px;
	word-break: break-all;
}

.msg_panel.right{
	width: 100%;
    min-height: 50px;
    border-radius: 5px;
    display: flex;
    position: relative;
    flex-direction: row-reverse;
	
}
.msg_panel.right .headicon_panel{
	float: right;
	width: 40px;
	height: 40px;
	margin-top:10px;
}


.msg_panel.right .headicon_panel img{
	width: 40px;
	height: 40px;
}


.msg_panel.right .text_msg_content{
	margin-top:10px;
	    width: auto;
    min-height:40px;
    float:right;
    
    text-align: left;
    line-height: 2;
    font-size: 18;
    margin-right: 10px;
    background: #ffffff;
    padding-left: 5px;
    padding-right: 5px;
    position:relative;
   
    border-radius: 5px;
}


.msg_panel.right .text_msg_content:AFTER {
	position: absolute;
    content: " ";
    top: 14px;
    right: -5px;
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
   
    transform: rotate(45deg);
    background: #ffffff;
    width: 10px;
    height: 10px;
}


 .msg_panel.right .img_msg_content{
	    margin-top: 10px;
    width: auto;
    float:right;
    padding-top: 5px;
    padding-bottom: 5px;
    min-height: 40px;
    margin-left: 10px;
    background: #ffffff;
    margin-right:10px;
    padding-left: 5px;
    padding-right: 5px;
    position: relative;
    border-radius: 5px;
    cursor:pointer;
}


.msg_panel.right .img_msg_content:AFTER {
	position: absolute;
    content: " ";
    top: 14px;
    right: -5px;
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
   
    transform: rotate(45deg);
    background: #ffffff;
    width: 10px;
    height: 10px;
}


.msg_content{
	margin-left: 5px;
	word-break: break-all;
}
